]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot: Enable opacity redirect for the panel
authorIvan Molodetskikh <yalterz@gmail.com>
Mon, 31 Jan 2022 07:58:49 +0000 (10:58 +0300)
committerMarge Bot <marge-bot@gnome.org>
Mon, 31 Jan 2022 12:39:18 +0000 (12:39 +0000)
This makes the panel look correct when it fades out (e.g. while dragging
the area selection around or while the screenshot UI is fading in and
out).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2138>

js/ui/screenshot.js

index 5c338120e16bc9f8f147c41aec5254a353f815e0..56f3cab7f1f0f52331e4241b2a949c4fbb92b670 100644 (file)
@@ -1081,6 +1081,7 @@ var ScreenshotUI = GObject.registerClass({
             y_align: Clutter.ActorAlign.END,
             y_expand: true,
             vertical: true,
+            offscreen_redirect: Clutter.OffscreenRedirect.AUTOMATIC_FOR_OPACITY,
         });
         this._primaryMonitorBin.add_child(this._panel);